package com.suray.wcs.service.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.wcs.service.enums.NetAddressType;
import com.suray.wcs.service.system.entity.NetAddressManageDB;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jie.min
 * @since 2021-11-24
 */
public interface NetAddressManegeDBService extends IService<NetAddressManageDB> {

    /**
     * 通过类型查找对应的netAddress
     * @param type
     * @return
     */
    List<NetAddressManageDB> findNetAddressByType(NetAddressType type);
    public List<NetAddressManageDB> findDeviceList(NetAddressManageDB devicedb, NetAddressType plcDeviceType);
    void insertDevice(NetAddressManageDB netAddressManageDB);
    void updateDevice(NetAddressManageDB netAddressManageDB);
    public List<NetAddressManageDB> querySonRgvList(NetAddressType type);
}
